# -*- coding: UTF-8 -*-
"""
@Filename:exerc1.py
@author:Cora
@time:2025-03-21
"""
try:
    # 输入两个整数
    num1 = int(input("请输入第一个整数："))
    num2 = int(input("请输入第二个整数："))
    # 计算并打印相除的结果
    result = num1 / num2
    print("结果为：", result)
except ValueError as e:
    print("输入错误：", e)
except ZeroDivisionError:
    print("除数不能为 0")